#ifndef _SHELL_ACTIVITGOODS_BEAN_H_
#define _SHELL_ACTIVITGOODS_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class ActivitGoods : public Bean
{
	public:
	ActivitGoods();
	~ActivitGoods();
	void reset();
	ActivitGoods* clone();
	//1.装备,2.道具。3.银两,4.元宝,5.令牌,6.荣誉,7.声望
	int8 type;
	//物品id(装备。道具，令牌才有其他为0)
	int32 modelId;
	//数量以及元宝等
	int32 num;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
